﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		 x:Class="Collab.Collab_Modules_VSPackage.Views.JoinView"
        Title="Join" SizeToContent="WidthAndHeight" mc:Ignorable="d" 
        WindowStartupLocation="CenterOwner" >
    <StackPanel Margin="5">
        <DockPanel Margin="2">
            <TextBlock Text="Name" TextWrapping="Wrap" Margin="2" VerticalAlignment="Center" Width="30" TextAlignment="Right"/>
            <TextBox x:Name="UserName" Text="Client"  TextWrapping="Wrap" d:LayoutOverrides="Height" Margin="2"/>
        </DockPanel>
        <DockPanel Margin="2">
            <TextBlock Text="IP" TextWrapping="Wrap" Margin="2" VerticalAlignment="Center" Width="30" TextAlignment="Right"/>
            <TextBox x:Name="Ip" Text="localhost" TextWrapping="Wrap" d:LayoutOverrides="Height" Margin="2"/>
        </DockPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="Join" Width="80" Margin="5,2" Click="HostButton_Click" IsDefault="True"/>
            <Button Content="Cancel" IsCancel="True" Height="21.2766666666667" Width="80" Margin="5,2" Click="CloseButton_Click"/>
        </StackPanel>
    </StackPanel>
</Window>
